package org.adorsys.aderp.cash.domain;

import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.ManyToMany;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.entity.RooJpaEntity;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaEntity
public class CashRegisterData {

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<DeviceType> deviceTypes = new HashSet<DeviceType>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<PaymentType> paymentTypes = new HashSet<PaymentType>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<Device> devices = new HashSet<Device>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<CashRegister> cashRegisters = new HashSet<CashRegister>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<CashRegItem> cashRegItems = new HashSet<CashRegItem>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<CashReceipt> cashReceipt = new HashSet<CashReceipt>();
}
